import java.text.NumberFormat;
import java.util.Locale;
public class Account {
	private long soTK;
	private String tenTK;
	private double soTien;
	
	public Account(){
		soTK=0;
		tenTK=null;
		soTien=0;
	}
	public Account(long sotk, String tentk, double sotien){
		this.soTK = sotk;
		this.tenTK = tentk;
		this.soTien = sotien;
	}
	public long SoTK(){
		return soTK;
	}
	public void SoTK(long sotk){
		this.soTK = sotk;
	}
	public String TenTK(){
		return tenTK;
	}
	public void TenTK(String tentk){
		this.tenTK = tentk;
	}
	public double SoTien(){
		return soTien;
	}
	public void SoTien(double sotien){
		this.soTien = sotien;
	}
	
	public void ToString(){
		Locale loc = Locale.getDefault();
		NumberFormat nf= NumberFormat.getCurrencyInstance(loc);
		
		System.out.println("So tai khoan: " + String.valueOf(soTK));
		System.out.println("Ten tai khoan: " + tenTK);
		System.out.println("So tien: " + nf.format(soTien));
	}
	
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		
	}
}
